package com.web.notice.service;

import java.util.List;

import com.web.notice.po.NoticePo;
import com.web.system.po.UserPo;

public interface NoticeService {
	public boolean saveOrUpdateNotice(NoticePo noticePo, int save, UserPo userPo);
	public int deleteNoticesByNoticeIds(String ids);
	public NoticePo getNoticeByNoticeId(Integer noticeId);
	public List<NoticePo> getNoticeList(String queryString, int first, int pageSize);
	public int getTotal(String sql);
	public int executeBySql(String sql);
	public List<NoticePo> getFirstPageNoticeList();
	public int executeBySql(String sql, String ids, String showState);
	public boolean schedulerUpdate();
}
